home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr37 / wsomr100.zip / MACRO.TXT < prev    next >
Text File  |  1995-03-15  |  4KB  |  144 lines

  1.  
  2. 1. Configurable reply format and taglines:
  3. ==========================================
  4.  
  5. 1.1 Format strings in .INI
  6.  
  7. Hello              : String to start a new message with.
  8. Reply              : String to start a reply with. This is usually
  9.                      something like: 'In a message xxx wrote to yyy'.
  10. Reply_4_usenet     : Same as Reply but used when posting news in USENET.
  11. Signoff_Fido       : String to be placed at the end of every message.
  12. Signoff_Internet   : String to be placed at the end of every message.
  13. Expandable Tagline : Tagline that contains embedded macros.
  14.  
  15. 1.2 A new message/news has the form of :
  16.  
  17.   @Hello.,
  18.  
  19.   Body of message
  20.  
  21.   @Signoff.
  22.  
  23. 1.3 A reply message has the form of :
  24.  
  25.   @Reply.,
  26.  
  27.   Body of message
  28.  
  29.   @Signoff.
  30.  
  31. 1.4 A reply news has the form of :
  32.  
  33.   @Reply_4_usenet.,
  34.  
  35.   Body of message
  36.  
  37.   @Signoff.
  38.  
  39. Note:
  40.  
  41.   Max. length of hello and reply string is 80 characters, and the max.
  42.   expandable length is 1024.
  43.  
  44. 2. Macros used in Hello, Reply strings and expandable taglines
  45. ===============================================================
  46.  
  47. 2.1 Format of macro
  48.  
  49.  Macro should be started with "@" and ended with ".", anything between
  50.  will be considered as an identifier and will not be expanded in the result
  51.  string.
  52.  
  53.  If "@" is used as an ordinary character instead of a macro symbol, it should
  54.  be prefixed with an escape character "\", ex: wang\@durian.usc.edu.ph,
  55.  the result string will be wang@durian.usc.edu.ph
  56.  
  57. 2.2 Predefined macros
  58.  
  59.  @n.        :   new line.
  60.  @t.        :   tab( 8 spaces).
  61.  @name.     :   your complete name.
  62.  @first.    :   your first name.
  63.  @last.     :   your last name.
  64.  @fido.     :   your fido address.
  65.  @internet. :   your internet address, if empty and you have fido address,
  66.                 fido address will be converted to internet address.
  67.  @date.     :   local date
  68.  @time.     :   local time in the form of hh:mm:ss
  69.  @place.    :   City name
  70.  @omr.      :   name & version of OMR used
  71.  @os.       :   Operating system running in your computer.
  72.  
  73.  @mFname.   :   Complete "From" name in the incoming message.
  74.  @mFfirst.  :   Frist name of "From".
  75.  @mFlast.   :   Last name of "From".
  76.  @mTname.   :   Complete "To" name in the incoming message.
  77.  @mTfirst.  :   First name of "To".
  78.  @mTlast.   :   Last name of "To".
  79.  
  80.  @mSubj.    :   subject in the incoming message.
  81.  @mDate.    :   Date and time in the incoming message.
  82.  
  83.  @rFname.   :   Complete "From" name in the reply you are making(outgoing message)
  84.  @rFfirst.  :   First name of "From"
  85.  @rFlast.   :   Last name of "From"
  86.  @rTname.   :   Complete "To" name in the reply(outgoing message)
  87.  @rTfirst.  :   First name of "To"
  88.  @rTlast.   :   Last name of "To"
  89.  @Message_ID. : message ID of the message( for Internet only )
  90.  @author.   :   Author of the message including address( taken from from: line)
  91.  
  92. 3. Some examples to clear up things
  93. ===================================
  94.  
  95. 3.1 New messages:
  96.  
  97. Let's say I'm writing a message to Rey Estrada, so that's a new message, and 
  98. the 'Hello' keyword would be used here. The header would look like this:
  99.  
  100. From: Frank Wang
  101. To  : Rey Estrada
  102. Subj: your
  103.  
  104. Hello1=Hello @rFfirst.@n.,
  105. Signoff1=@n.@n.@first.@n.Fido:@fido.@n.@Internet.@n.@date.
  106.  
  107. My message would be started with:
  108.  
  109. Hello Rey,
  110.  
  111. Frank
  112. Fido:6:754/1.20
  113. Internet:wang@durian.usc.edu.ph
  114. Dec. 12, 1994
  115.  
  116. 3.2 Replying
  117.  
  118. Let's say I received a message from Rey Estrada, the header of the message
  119. looks like :
  120.  
  121. Date: Dec. 12. 1994
  122. From: Rey Estrada
  123. To  : Frank Wang
  124. Subj: My registration is on the way!
  125.  
  126. I'm going to reply to Rey, since this is a reply, the reply string will
  127. be used here:
  128.  
  129. Reply=On @mDate. @mFname.wrote to @mTname....@n.
  130. Signoff1=@n.@n.@first.@n.Fido:@fido.@n.@Internet.@n.@date.
  131.  
  132. The reply would start with:
  133.  
  134. On Dec. 12. 1994 Rey Estrada wrote to Frank Wang:
  135.  
  136.   >
  137.   >
  138.  
  139. Frank
  140. Fido:6:754/1.20
  141. Internet:wang@durian.usc.edu.ph
  142. Dec. 12, 1994
  143.  
  144.